class_name VampireStateRecover
extends StateBase


var unit: UnitVampire


func on_enter(owner = null, params = null):
	unit = owner as UnitVampire
	unit.all_bats_recover()
	

func on_exit(owner = null):
	pass


func on_process(delta: float, owner = null):
	pass
	
	
func on_physics_process(delta: float, owner = null):
	unit.process_bat_state_enter_death()
	unit.process_recover()
	
